package model

import (
	"time"
	"wzgames/internal/model/mcomm"
)

type Admin struct {
	AdminID   int64        `db:"adminid"`
	AdminName string       `db:"name"`
	NickName  string       `db:"nickname"`
	Avatar    string       `db:"avatar"`
	Status    mcomm.Status `db:"status"`
	AdminSalt string       `db:"gmsalt"`
	AdminPwd  string       `db:"gmpwd"`
	Itc       int          `db:"itc"`
	Created   time.Time    `db:"created"`
	Updated   time.Time    `db:"updated"`
}

type SysMainT struct {
	MtID      int64        `db:"mtid"`
	Title     string       `db:"title"`
	Content   string       `db:"content"`
	Status    mcomm.Status `db:"status"`
	Action    int64        `db:"action"`
	MtType    mcomm.MtType `db:"mtype"`
	GameID    int32        `db:"gameid"`
	AgtID     int64        `db:"agtid"`
	InstID    int64        `db:"instid"`
	StartTime int64        `db:"starttime"`
	EndTime   int64        `db:"endtime"`
	WhiteIP   string       `db:"whiteip"`
	Created   time.Time    `db:"created"`
	Updated   time.Time    `db:"updated"`
}
